package com.mycompany.inventory.pojo;

public class CustomInfo {
	
	private String name;
	private String value;
	private String Id;
	private String type;
	private boolean	showed;

	public CustomInfo(String name, String value, String id, String type,
			boolean showed) {		
		this.name = name;
		this.value = value;
		Id = id;
		this.type = type;
		this.showed = showed;
	}

	public CustomInfo() {
		setName("");
		setValue("");
		setId("");
		setType("");
		setShowed(false);
	}
	
	public void clear(){		
		//setName("");
		setValue("");
//		setId("");
//		setType("");
//		setShowed(false);
	}
	
	public void copyValue(CustomInfo cus){
		setValue(cus.getValue());	
	}
	
	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String na) {
		name = na;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String va) {
		value = va;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public boolean isShowed() {
		return showed;
	}

	public void setShowed(boolean showed) {
		this.showed = showed;
	}
	
	public void copy(CustomInfo cus){
		this.name = cus.getName();
		this.value = cus.getValue();
		Id = cus.getId();
		this.type = cus.getType();
		this.showed = cus.isShowed();
	}

	
}
